<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="icon" href="index.ico">
  <title id="title"></title>
  <script>

    var title = document.querySelector("#title")
    var hosname = localStorage.getItem("hosnamed");
    if(hosname){
      if(hosname==0){
        title.innerHTML ="";
      }
    }else{
      title.innerHTML ="河南省预约挂号平台";
    }
    window.onload = function () {
      document.addEventListener('touchstart', function (event) {
        if (event.touches.length > 1) {
          event.preventDefault()
        }
      })
      document.addEventListener('gesturestart', function (event) {
        event.preventDefault()
      })
    }
    function getUrlVars() {
        var vars = {};
        var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
            function (m, key, value) {
                vars[key] = value;
            }
        );
        return vars;
    }
    var routeCode = getUrlVars()["routeCode"];
        // var shouyetype = getUrlVars()["type"];  
    var hosapptoken = getUrlVars()["apptoken"];
   //"shouye",代表从链接进来的，若接收不到，是授权后定向进来的
        var isHasCommonTitle = getUrlVars()["isHasCommonTitle"]; //0不带公共标题导航栏，
      
        var shouyestate = getUrlVars()["state"]; //0正常取到了unid,openid ,1进异常路由 , 2进关注公众号界面
        var unidd = getUrlVars()["unid"];
        var openidd = getUrlVars()["openid"];
        var hospitalIdd = getUrlVars()["hospitalId"];
        var departmentIdd = getUrlVars()["departmentId"];
        // alert(departmentIdd)
        var doctorIdd = getUrlVars()["doctorId"];
        var orderIdd=getUrlVars()["orderId"];
   
  </script>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
      Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>


</html>
<style lang="scss">

  </style>